cd ~/workspace/sve-proj/mat-script/

a = dlmread('tracker_joint.csv'); 
%a = dlmread('x.csv');
x = a(:,1);
y = a(:,2);
z = a(:,3);

mesh(x,y,z);

print -deps 'v1.pdf'


tx = ty = linspace (-8, 8, 50)';
[xx, yy] = meshgrid (tx, ty);
r = sqrt (xx .^ 2 + yy .^ 2) + eps;
tz = sin (r) ./ r;
mesh (tx, ty, tz);